package com.czh.springboot04.service;

import com.czh.springboot04.entity.User;
import com.czh.springboot04.entity.UserMark;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {




    User findByUsername(String username);

    User findByUsernameAndPassword(User user);

    PageInfo<User> selectAll(int pageNum, int pageSize, User user);
    int addUser(User user);
    int deleteUser(int id);
    int deleteUsers(int[] ids);
    int updateU(User user);
    User selectById(int id);

    int getUserCount();

}
